﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMain.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="IonosphereViewer.WebFormDefault" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <asp:Table ID="TableMain" runat="server">
          <asp:TableRow runat="server">
              <asp:TableCell runat="server"><asp:Label ID="LabelHolder" runat="server" Text="Владелец:"></asp:Label>
          
</asp:TableCell>
              <asp:TableCell ID="TableCell1" runat="server"><asp:Label ID="LabelCardNo" runat="server" Text="Номер карточки:"></asp:Label>
          
</asp:TableCell>
          </asp:TableRow>
          <asp:TableRow runat="server">
              <asp:TableCell runat="server">
                   <asp:TextBox ID="TextBoxHolder" runat="server" Width="300px"></asp:TextBox>
                   
<asp:Label ID="Label1" runat="server" Text="*" ForeColor="Red"></asp:Label>
              
</asp:TableCell>
              <asp:TableCell ID="TableCell2" runat="server">
                    <asp:TextBox ID="TextBoxCardNo" runat="server" Width="110px" TextMode = "Password"></asp:TextBox>
                    
<asp:Label ID="Label2" runat="server" Text="*" ForeColor="Red"></asp:Label>
              
</asp:TableCell>
              <asp:TableCell ID="TableCell3" runat="server">
               <asp:Button ID="ButtonSubmit" runat="server" Text="Войти" onclick = "LoginLog_Authenticate" />
              
</asp:TableCell>
          </asp:TableRow>
      </asp:Table>
      <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
          DisplayMode="List" />
      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
          ErrorMessage="Владелец не введен" ControlToValidate = "TextBoxHolder" 
          Display="None"></asp:RequiredFieldValidator>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
          ErrorMessage="Номер карточки не введен" ControlToValidate = "TextBoxCardNo" 
          Display="None"></asp:RequiredFieldValidator>
      <asp:RangeValidator ID="RangeValidator1" runat="server" 
          ErrorMessage="Номер карточки содержит только цифры" 
          ControlToValidate = "TextBoxCardNo" Display="None" MaximumValue="999999" 
          MinimumValue="1" Type="Integer"></asp:RangeValidator>
          <asp:CustomValidator ID="CustomValidator1" runat="server" 
          ErrorMessage="Неверные данные" Display="None"></asp:CustomValidator>
</asp:Content>
